package com.kingyea.mobilepolice.util;

import java.util.UUID;

/**
 * @author cxc
 * @version v1.0.0
 * @description This is a class
 * @date Created in 2018.04.09 09:17
 */

public class RandomUtils {

    public static String genUUID() {
        return UUID.randomUUID().toString();
    }

    public static String genRoleSerialNo() {
        return Constants.PRE_ROLE_SERIAL_NO + UUID.randomUUID().toString().split("-")[4].toUpperCase();
    }

}
